.comment-form {
  background-color: #fff;
  padding: 10px;
  margin-bottom: 10px;

  .comment-create {
    /*border: 1px solid #f0f0f0;*/
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    padding: 0;
    box-sizing: border-box;

    .comment-quote-info {
      font-size: 13px;
      color: #000;
      margin-bottom: 3px;
      font-weight: 600;

      i {
        font-size: 12px !important;
        color: blue;
        cursor: pointer;
      }

      i:hover {
        color: red;
      }
    }

    .comment-input-wrapper {
      margin-bottom: 8px;

      .text-input {
        outline: none;
        width: 100%;
        height: 85px;
        font-size: 14px;
        padding: 10px 40px 10px 10px;
        color: #54412e;
        line-height: 16px;
        max-width: 100%;
        resize: none;
        border: 1px solid #e9e9e9;
        box-sizing: border-box;
        border-radius: var(--jinsom-border-radius);
      }
    }

    .comment-button-wrapper {
      user-select: none;
      display: flex;
      float: right;
      height: 30px;
      line-height: 30px;

      span {
        color: #c2c2c2;
        font-size: 13px;
        margin-right: 5px;
      }

      button {
        font-weight: 500;
      }
    }
  }
}

.comments {
  background-color: #fff;
  padding: 10px;

  .comment {
    padding: 8px 0;
    overflow: hidden;

    &:not(:last-child) {
      border-bottom: 1px dashed #d1d1d1;
    }

    .comment-avatar {
      float: left;
      padding: 3px;
      margin-right: 10px;
    }

    .comment-meta {
      position: relative;
      height: 36px;

      .comment-nickname {
        position: relative;
        font-size: 14px;
        font-weight: 800;
        margin-right: 5px;
        cursor: pointer;
        color: #1abc9c;
        text-decoration: none;
        display: inline-block;
      }

      .comment-time {
        font-size: 12px;
        color: #999999;
        line-height: 1;
        display: inline-block;
        position: relative;
      }

      .comment-reply {
        float: right;
        font-size: 12px;
      }
    }

    .comment-content {
      word-wrap: break-word;
      word-break: break-all;
      text-align: justify;
      color: #4a4a4a;
      font-size: 14px;
      line-height: 1.6;
      position: relative;
      padding-left: 45px;
      margin-top: -5px;

      img {
        max-width: 50%;
      }

      .comment-image-list {
        margin-top: 10px;

        .comment-image {
          cursor: pointer;
          text-align: center;

          display: inline-block;
          vertical-align: middle;
          margin: 0 8px 8px 0;
          background-color: #e8e8e8;
          background-size: 32px 32px;
          background-position: 50%;
          background-repeat: no-repeat;
          overflow: hidden;
          position: relative;

          width: 120px;
          height: 120px;
          line-height: 120px;

          &>img {
            width: 120px;
            height: 120px;
            line-height: 120px;
            max-width: 120px;
            object-fit: cover;
            transition: all 0.5s ease-out 0.1s;

            &:hover {
              transform: matrix(1.04, 0, 0, 1.04, 0, 0);
              backface-visibility: hidden;
            }
          }

          &.small {
            width: 90px;
            height: 90px;
            line-height: 90px;

            &>img {
              width: 90px;
              height: 90px;
              line-height: 90px;
              max-width: 90px;
            }
          }
        }
      }
    }

    .comment-quote {
      font-size: 12px;
      padding: 10px 10px;
      border-left: 2px solid #5978f3;

      &::after {
        content: '\201D';
        font-family: Georgia, serif;
        font-size: 60px;
        font-weight: bold;
        color: #aaa;
        position: absolute;
        right: 0px;
        top: -18px;
      }

      .comment-quote-user {
        display: flex;
        margin-bottom: 6px;

        .quote-nickname {
          line-height: 20px;
          font-weight: 700;
          margin-left: 5px;
        }

        .quote-time {
          line-height: 20px;
          margin-left: 5px;
          color: rgba(134, 142, 150, 0.8);
        }
      }
    }
  }
}
